package pacs.sgc.dao;

import java.util.List;

import pacs.sgc.classesbasicas.Cliente;
import pacs.sgc.exceptions.AcessoAoBancoException;
import pacs.sgc.exceptions.ConexaoComBancoException;

public interface IClienteDao {
	public void inserir(Cliente novoCliente) throws ConexaoComBancoException, AcessoAoBancoException;
	public void remover(String cpf) throws ConexaoComBancoException, AcessoAoBancoException;
	public void atualizar(Cliente atualizado) throws ConexaoComBancoException, AcessoAoBancoException;
	public Cliente localizar(String cpf, String rg) throws ConexaoComBancoException, AcessoAoBancoException;
	public List<Cliente> listar() throws ConexaoComBancoException, AcessoAoBancoException;
	public int gerarCodigo() throws ConexaoComBancoException, AcessoAoBancoException;
}
